package self.hoy.demo.cloud.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import self.hoy.demo.cloud.entities.Payment;

/**
 * @author 三共小不
 * @date 2020/5/28
 */
@Mapper
public interface PaymentDao {

    int create(Payment param);

    Payment getPaymentById(@Param("id")Long id);
}
